import { IsInt, IsString } from 'class-validator';

export class PayNotificationDto {
    @IsString()
    readonly sign: string;
    @IsString()
    readonly notify_type: string;
    @IsString()
    readonly project_name: string;
    @IsString()
    readonly transaction_id: string;
    @IsString()
    readonly out_trade_no: string;
    @IsString()
    readonly third_party_transaction_id: string;
    @IsString()
    readonly pay_type: string;
    @IsInt()
    readonly amount: number;
    @IsString()
    readonly order_status: string;
    @IsInt()
    readonly pay_time: number;
}



